﻿Public Class SachDTO
    Private _maSach As Integer
    Private _tenSach As String
    Private _tacGia As String
    Private _namXuatBan As Integer
    Private _ngayNhap As Date
    Private _triGia As Double
    Private _maTheLoai As Integer
    Private _maNhaXuatBan As Integer
    Private _maNhanVien As Integer
    Private _isDelete As Boolean
    
    Public Property MaSach() As Integer
        Get
            Return _maSach
        End Get
        Set(ByVal value As Integer)
            _maSach = value
        End Set
    End Property

    Public Property TenSach() As String
        Get
            Return _tenSach
        End Get
        Set(ByVal value As String)
            _tenSach = value
        End Set
    End Property

    Public Property NamXuatBan() As Integer
        Get
            Return _namXuatBan
        End Get
        Set(ByVal value As Integer)
            _namXuatBan = value
        End Set
    End Property

    Public Property NgayNhap() As DateTime
        Get
            Return _ngayNhap
        End Get
        Set(ByVal value As DateTime)
            _ngayNhap = value
        End Set
    End Property

    Public Property TriGia() As Double
        Get
            Return _triGia
        End Get
        Set(ByVal value As Double)
            _triGia = value
        End Set
    End Property

    Public Property MaTheLoai() As Integer
        Get
            Return _maTheLoai
        End Get
        Set(ByVal value As Integer)
            _maTheLoai = value
        End Set
    End Property

    Public Property MaNhaXuatBan() As Integer
        Get
            Return _maNhaXuatBan
        End Get
        Set(ByVal value As Integer)
            _maNhaXuatBan = value
        End Set
    End Property

    Public Property MaNhanVien() As Integer
        Get
            Return _maNhanVien
        End Get
        Set(ByVal value As Integer)
            _maNhanVien = value
        End Set
    End Property

    Public Property TacGia() As String
        Get
            Return _tacGia
        End Get
        Set(ByVal value As String)
            _tacGia = value
        End Set
    End Property

    Public Property IsDelete() As Boolean
        Get
            Return _isDelete
        End Get
        Set(ByVal value As Boolean)
            _isDelete = value
        End Set
    End Property
End Class
